@import "../common/common";

.ke-container-grey {
    .ke-toolbar {
        .ke-toolbar-icon {
            *background-image: url(images/nkeditor.png);
            background: url(images/nkeditor.svg) no-repeat;
        }

        .ke-icon-source {
            background-position: 0 -1400px;
        }
        .ke-icon-preview {
            background-position: 0 -1175px;
        }
        .ke-icon-print {
            background-position: 0 -1200px;
        }
        .ke-icon-undo {
            background-position: 0 0;
        }

        .ke-icon-redo {
            background-position: 0 -25px;
        }

        .ke-icon-cut {
            background-position: 0 -400px;
        }

        .ke-icon-copy {
            background-position: 0 -375px;
        }

        .ke-icon-paste {
            background-position: 0 -1150px;
        }

        .ke-icon-selectall {
            background-position: 0 -1375px;
        }

        .ke-icon-justifyleft {
            background-position: 0 -825px;
        }

        .ke-icon-justifycenter {
            background-position: 0 -250px;
        }

        .ke-icon-justifyright {
            background-position: 0 -1325px;
        }

        .ke-icon-justifyfull {
            background-position: 0 -225px;
        }

        .ke-icon-insertorderedlist {
            background-position: 0 -1050px;
        }

        .ke-icon-insertunorderedlist {
            background-position: 0 -1575px;
        }

        .ke-icon-indent {
            background-position: 0 -1350px;
        }

        .ke-icon-outdent {
            background-position: 0 -850px;
        }

        .ke-icon-subscript {
            background-position: 0 -450px;
        }

        .ke-icon-superscript {
            background-position: 0 -1650px;
        }

        .ke-icon-date {
            background-position: 0px -304px;
            width: 25px;
            height: 16px;
        }

        .ke-icon-time {
            background-position: 0px -320px;
            width: 25px;
            height: 16px;
        }

        .ke-icon-formatblock {
            background-position: 0 -1550px;
        }

        .ke-icon-fontname {
            background-position: 0 -575px;
        }

        .ke-icon-fontsize {
            background-position: 0 -600px;
        }

        .ke-icon-forecolor {
            background-position: 0 -1725px;
        }

        .ke-icon-hilitecolor {
            background-position: 0 -550px;
        }

        .ke-icon-bold {
            background-position: 0 -150px;
        }

        .ke-icon-italic {
            background-position: 0 -800px;
        }

        .ke-icon-underline {
            background-position: 0 -1600px;
        }

        .ke-icon-strikethrough {
            background-position: 0 -1475px;
        }

        .ke-icon-removeformat {
            background-position: 0 -300px;
        }

        .ke-icon-image {
            background-position: 0 -725px;
        }

        .ke-icon-flash {
            background-position: 0 -525px;
        }

        .ke-icon-media {
            background-position: 0 -1675px;
        }

        .ke-icon-div {
            background-position: 0px -544px;
            width: 16px;
            height: 16px;
        }

        .ke-icon-formula {
            background-position: 0px -576px;
            width: 16px;
            height: 16px;
        }

        .ke-icon-hr {
            background-position: 0 -1450px;
        }

        .ke-icon-emoticons {
            background-position: 0 -475px;
        }

        .ke-icon-link {
            background-position: 0 -900px;
        }

        .ke-icon-unlink {
            background-position: 0 -1625px;
        }

        .ke-icon-fullscreen {
            background-position: 0 -625px;
        }

        .ke-icon-about {
            background-position: 0 -75px;
        }

        .ke-icon-plainpaste {
            background-position: 0 -1100px;
        }

        .ke-icon-wordpaste {
            background-position: 0 -1125px;
        }

        .ke-icon-table {
            background-position: 0px -1525px;
            width: 23px !important;
        }

        .ke-icon-tablemenu {
            background-position: 0px -768px;
            width: 16px;
            height: 16px;
        }

        .ke-icon-code {
            background-position: 0 -350px;
        }

        .ke-icon-map {
            background-position: 0px -976px;
            width: 16px;
            height: 16px;
        }

        .ke-icon-baidumap {
            background-position: 0 -175px;
        }

        .ke-icon-lineheight {
            background-position: 0 -875px;
        }

        .ke-icon-clearhtml {
            background-position: 0 -275px;
        }

        .ke-icon-pagebreak {
            background-position: 0 -1425px;
        }

        .ke-icon-insertfile {
            background-position: 0 -125px;
        }

        .ke-icon-quickformat {
            background-position: 0 -1075px;
        }

        .ke-icon-template {
            background-position: 0 -1700px;
        }

        .ke-icon-anchor {
            background-position: 0 -100px;
        }

        .ke-icon-search {
            background-position: 0px -1184px;
            width: 16px;
            height: 16px;
        }

        .ke-icon-new {
            background-position: 0px -1200px;
            width: 16px;
            height: 16px;
        }

        .ke-icon-specialchar {
            background-position: 0px -1216px;
            width: 16px;
            height: 16px;
        }

        .ke-icon-multiimage {
            background-position: 0 -1000px;
        }

        .ke-icon-graft {
            background-position: 0 -700px;
        }
    }
}

/**
 menu 右键菜单
 */
.ke-menu-grey {

    .ke-menu-item {

        .ke-menu-item-left {
            width: 27px;
            text-align: center;
            overflow: hidden;

            .ke-toolbar-icon {
                @include ke-toolbar-icon;
                *background-image: url(images/nkeditor.png);
                background: url(images/nkeditor.svg) no-repeat;
            }

            .ke-icon-tableinsert {
                background-position: 0 -1525px;
                width: 23px !important;
            }

            .ke-icon-tabledelete {
                background-position: 0 -1275px;
            }

            .ke-icon-tablecolinsertleft {
                background-position: 0 -1775px;
            }

            .ke-icon-tablecolinsertright {
                background-position: 0 -750px;
            }

            .ke-icon-tablerowinsertabove {
                background-position: 0 -775px;
                width: 22px !important;
            }

            .ke-icon-tablerowinsertbelow {
                background-position: 0 -1800px;
                width: 22px !important;
            }

            .ke-icon-tablecoldelete {
                background-position: 0 -1225px;
            }

            .ke-icon-tablerowdelete {
                background-position: 0 -1250px;
            }

            .ke-icon-tablecellprop {
                background-position: 0 -975px;
            }

            .ke-icon-tableprop {
                background-position: 0 -1500px;
            }
            .ke-icon-tablecellsplit {
                background-position: 0px -1088px;
                width: 16px;
                height: 16px;
            }

            .ke-icon-tablerowmerge {
                background-position: -5px -1850px;
            }

            .ke-icon-tablerowsplit {
                background-position: 0 -1825px;
            }

            .ke-icon-tablecolmerge {
                background-position: -2px -950px;
            }

            .ke-icon-tablecolsplit {
                background-position: 0 -1825px;
            }

            //图片，视频右键菜单
            .ke-icon-image {
                background-position: 0 -725px;
            }
            .ke-icon-flash {
                background-position: 0 -525px;
            }
            .ke-icon-media {
                background-position: 0 -1675px;
            }
            .ke-icon-link {
                background-position: 0 -900px;
            }

            .ke-icon-checked {
                background-position: 0 -1025px;
            }

        }
    }
}
//menu end